
//
//  LSZRequestDicData.m
//  PartyClassCloud
//
//  Created by 梁素珍 on 2018/8/15.
//  Copyright © 2018年 九酷. All rights reserved.
//

#import "LSZRequestDicData.h"

@implementation LSZRequestDicData
#pragma mark - 获取问题
+(void)initWithMutualProblem:(NSInteger)page :(HTTPMutualProblem)block
{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:count_num10,@"pageSize",[NSString stringWithFormat:@"%ld",(long)page],@"pageNumber", nil];
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@",@"/question/all/list"];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZMutualProblemManager * mg = [[LSZMutualProblemManager alloc]initWithMutualProblem:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 互助界面我的问题
+(void)initWithMutualProblemSelf:(NSInteger)page :(HTTPMutualProblem)block
{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:count_num10,@"pageSize",[NSString stringWithFormat:@"%ld",(long)page],@"pageNumber", nil];
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@",@"/question/list"];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZMutualProblemManager * mg = [[LSZMutualProblemManager alloc]initWithMutualProblem:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 问题详情界面
+(void)initWithDetailInterface:(NSString *)id_id :(HTTPQuestionerDetails)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@?questionId=%@",@"/answer/list",id_id];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
           LSZQuestionParticipantDetailsInterfaceManager * mg = [[LSZQuestionParticipantDetailsInterfaceManager alloc]initWithQuestionParticipantDetailsInterface:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 获取课程计划分类
+(void)obtainStudyPlanDetails:(HTTPLearningCatalogue)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@",@"/catalog/course/plan/list"];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZLearningCatalogueManager * mg = [[LSZLearningCatalogueManager alloc]initWithLearningCatalogue:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 提交
+(void)submitLiteratureClassification:(NSString *)id_id name:(NSString *)name coverUrl:(NSString *)coverUrl sortIndex:(NSString *)sortIndex :(HTTPLiteratureClassification)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:id_id,@"id",name,@"name",coverUrl,@"coverUrl",sortIndex,@"sortIndex", nil];
    NSString * string = [NSString stringWithFormat:@"%@",@"/catalog/course/document"];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZLiteratureClassificationManager * mg = [[LSZLiteratureClassificationManager alloc]initWithLiteratureClass:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 获取分类 文献资料 视频专题 随身听
+(void)obtainClassificationData:(NSString *)url :(HTTPLiteratureClassification)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    [LSZTotalRequest initWithGetNoEncryptionRequest:url :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZLiteratureClassificationManager * mg = [[LSZLiteratureClassificationManager alloc]initWithLiteratureClass:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 资讯目录
+(void)informationDirectory:(HTTPInformationDirectory)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@",@"/catalog/article/list"];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZInformationDirectoryManager * mg = [[LSZInformationDirectoryManager alloc]initWithInformationDirectory:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 资讯目录详情 获取资源列表
+(void)initWithDirectoryDetails:(NSString *)catalogId page:(NSInteger)page :(HTTPArticleDetails)block
{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:count_num10,@"pageSize",[NSString stringWithFormat:@"%ld",(long)page],@"pageNumber",catalogId,@"catalogId", nil];
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:catalogId,@"catalogId", nil];
    NSString * string = [NSString stringWithFormat:@"%@",@"/resource/list"];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZArticleDetailsManager * mg = [[LSZArticleDetailsManager alloc]initWithArticleDetails:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 资料的二级界面  获取分类列表
+(void)secondaryInterfaceForData:(NSString *)string_id page:(NSInteger)page :(HTTPSecondaryInterface)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:string_id,@"catalogId", nil];
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:count_num10,@"size",[NSString stringWithFormat:@"%ld",(long)page],@"page", nil];
 
    NSString * string = [NSString stringWithFormat:@"%@",@"/catalog/list"];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZSecondaryInterfaceManager * mg = [[LSZSecondaryInterfaceManager alloc]initWithSecondaryInterface:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 资料3级界面
+(void)threeInterfaceForData:(NSString *)string_id :(HTTPTertiaryInterface)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@?catalogId=%@",@"/resource/list",string_id];
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:string_id,@"catalogId", nil];
//  NSString * string = [NSString stringWithFormat:@"%@",@"/catalog/list"];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZTertiaryInterfaceManager * mg = [[LSZTertiaryInterfaceManager alloc]initWithTertiaryInterface:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}

#pragma mark - 党务_组织机构
+(void)getTheDepartmentOfEachAgency:(NSString *)id_id :(HTTPEachAgency)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@%@",@"/branch/",id_id];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZEachAgencyManager * mg = [[LSZEachAgencyManager alloc]initWithEachAgency:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark- 党务_三会一课获取联系人
+(void)partyAffairsThirdMeetingOneClassGetContacts:(NSString *)ID :(HTTPThreeMeetingsContact)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@%@",@"/customer/branch/",ID];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZThreeMeetingsContactManager * mg = [[LSZThreeMeetingsContactManager alloc]initWithThreeMeetingsContact:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 三会一课_支部活动
+(void)threeMeetingsAndOneClassBranchActivities:(NSString *)id_id :(HTTPPartyBranchActivities)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@%@",@"/activity/branch/",id_id];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZPartyBranchActivitiesManager * mg = [[LSZPartyBranchActivitiesManager alloc]initWithPartyBranchActivities:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 个人积分
+(void)initWithMyPoints:(HTTPMyPoints)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@",@"/customer/score"];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZMyPointsManager * mg = [[LSZMyPointsManager alloc]initWithMyPoints:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 个人积分排名
+(void)initWithIndividualRanking:(HTTPIndividualRanking)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@",@"/customer/score/rank"];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZIndividualRankingManager * mg = [[LSZIndividualRankingManager alloc]initWithIndividualRanking:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 支部积分排名
+(void)initWithBranchPointsRanking:(HTTPBranchPoints)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@",@"/branch/leaf"];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZBranchPointsManager * mg = [[LSZBranchPointsManager alloc]initWithBranchPoints:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark- 收藏 HTTPCollection
+(void)initWithCollection:(NSInteger)page :(HTTPArticleDetails)block
{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:count_num10,@"size",[NSString stringWithFormat:@"%ld",(long)page],@"page", nil];
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@",@"/resource/_favor/list"];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZArticleDetailsManager * mg = [[LSZArticleDetailsManager alloc]initWithArticleDetails:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 获取有那种试题类型
+(void)getsThatEntityType:(NSInteger)page :(HTTPSecondaryInterface)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:count_num10,@"size",[NSString stringWithFormat:@"%ld",(long)page],@"page", nil];
    NSString * string = [NSString stringWithFormat:@"%@",@"/paper/list"];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZSecondaryInterfaceManager * MG = [[LSZSecondaryInterfaceManager alloc]initWithSecondaryInterface:diction];
            block(YES,@"",MG);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark -获取试题
+(void)getForQuestions:(NSString *)ID_ID :(HTTPAnswerQuestionsDetails)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@?paperId=%@",@"/exam/list",ID_ID];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZAnswerQuestionsDetailsManager * mg = [[LSZAnswerQuestionsDetailsManager alloc]initWithAnswerQuestionsDetails:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 获取三会一课类型
+(void)initWithThreeSessionsClassType:(HTTPThreeSessionsClassType)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@",@"/catalog/activity3"];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * str, id diction) {
        if (isOk == YES) {
            LSZThreeSessionsClassTypeManager * mg = [[LSZThreeSessionsClassTypeManager alloc]initWithThreeSessionsClassType:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark --------------- 扶贫---------------
#pragma mark- 产业分类详情activity/list?catalogid
+(void)detailsOfIndustryClassification:(NSString *)catalogid :(HTTPIndustry)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@?catalogId=%@",@"/activity/list",catalogid];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZIndustryManager * manager = [[LSZIndustryManager alloc]initWithIndustry:diction];
            block(YES,@"",manager);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 项目管理
+(void)initWithIndustryManagement:(NSString *)id_id :(HTTPIndustry)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]initWithObjectsAndKeys:id_id,@"ActivityIn", nil];
    NSString * string = [NSString stringWithFormat:@"%@",@"/activity/industry"];
    [LSZTotalRequest initWithGetNoEncryptionRequestReturnStr:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZIndustryManager * manager = [[LSZIndustryManager alloc]initWithIndustry:diction];
            block(YES,@"",manager);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 通讯录customer/job6/list
//+(void)getTheAddressBook:(HTTPAddressBook)block
//{
//    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
//    NSString * string = [NSString stringWithFormat:@"%@",@"/poverty/customer/list"];
//    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
////        NSDictionary * dic = [[NSDictionary alloc]initWithObjectsAndKeys:@"6b885e5306f903375e83118acf31c23a",@"branchId",@"你好",@"branchName",@"13523544837",@"contactPhone", nil];
////        NSArray * array = @[dic,dic,dic,dic,dic];
//        NSLog(@"%@>>>>>>",diction);
//        if([diction isKindOfClass:[NSArray class]]){
//            NSLog(@"22222");
//        }
//        if([diction isKindOfClass:[NSDictionary class]]){
//            NSLog(@"1111111");
//        }
//        if (isOk == YES) {
//            LSZAddressBookManager * mg = [[LSZAddressBookManager alloc]initWithAddressBook:diction];
//            block(YES,@"",mg);
//        }else{
//            block(NO,string,nil);
//        }
//    }];
//}
#pragma mark - 考试成绩
+(void)testScores:(HTTPChenJiType)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@",@"/paper/list/score"];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
//        NSLog(@"%@>>>>>>",diction);
        if (isOk == YES) {
            LSZChenJiManager * mg = [[LSZChenJiManager alloc]initWithChenJiArray:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 贫困户结果查询
+(void)initInquiryOfPoorHouseholds:(NSString *)nameStr phoneStr:(NSString *)phoneStr cardIDStr:(NSString *)cardIDStr :(HTTPInquiryPoorHouseholds)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [[NSString  alloc]init];
    if ((NullStringjudgment(NSStr(nameStr))).length > 0) {
        string = [NSString stringWithFormat:@"/poverty/list/name?name==%@",nameStr];
    }else if ((NullStringjudgment(NSStr(phoneStr))).length > 0){
        string = [NSString stringWithFormat:@"/poverty/list/phone?phone=%@",phoneStr];
    }else{
        string = [NSString stringWithFormat:@"/poverty/list/idnumber?idNumber=%@",cardIDStr];
    }
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        NSLog(@"%@>>>>>>",diction);
        if (isOk == YES) {
            LSZInquiryPoorHouseholdsManager * mg = [[LSZInquiryPoorHouseholdsManager alloc]initWithInquiryPoorHouseholds:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 通讯录数据
+(void)initGetAddressBookData:(NSString *)branchId :(HTTPAddressBook)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@?branchId=%@",@"/poverty/customer/list",branchId];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        NSLog(@"%@>>>>>>",diction);
        if (isOk == YES) {
            LSZAddressBookManager * mg = [[LSZAddressBookManager alloc]initWithAddressBook:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 获取分支机构
+(void)initBranchAcquisition:(NSString *)branchId :(HTTPCommunicationData)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@?branchId=%@",@"/branch/list",branchId];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        NSLog(@"%@>>>>>>获取分支机构",diction);
        if (isOk == YES) {
            LSZCommunicationDataManager * mg = [[LSZCommunicationDataManager alloc]initWithCommunicationData:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 获得贫困家庭人员
+(void)initWithMembersPoorFamilies:(NSString *)householdNumber :(HTTPInquiryPoorHouseholds)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@?householdNumber=%@",@"/poverty/member/list",householdNumber];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZInquiryPoorHouseholdsManager * mg = [[LSZInquiryPoorHouseholdsManager alloc]initWithInquiryPoorHouseholds:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 获取本人所在机构/单位 branch/self
+(void)getMyOrganization:(HTTPCommunicationData)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@",@"/branch/list/self"];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZCommunicationDataManager * mg = [[LSZCommunicationDataManager alloc]initWithCommunicationData:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 基础数据 获取数据
+(void)getTheDataBranchId:(NSString *)branchId :(HTTPCommunicationData)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@?branchId=%@",@"/activity/industry/list",branchId];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        NSLog(@"%@>>>>>>",diction);
        if (isOk == YES) {
            LSZCommunicationDataManager * mg = [[LSZCommunicationDataManager alloc]initWithCommunicationData:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 获取村下面贫困户
+(void)getThePoorHouseholdsBelowTheVillage :(NSString *)branchId :(HTTPInquiryPoorHouseholds)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@?branchId=%@",@"/poverty/list/branch",branchId];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZInquiryPoorHouseholdsManager * mg = [[LSZInquiryPoorHouseholdsManager alloc]initWithInquiryPoorHouseholds:diction];
            block(YES,@"",mg);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark 获取贫困户获取帮扶日志
+(void)accessToHelpLogsForPoorHouseholds:(NSString *)householdId :(HTTPIndustry)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"%@?householdId=%@",@"/poverty/diary/list",householdId];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZIndustryManager * manager = [[LSZIndustryManager alloc]initWithIndustry:diction];
            block(YES,@"",manager);
        }else{
            block(NO,string,nil);
        }
    }];
}
#pragma mark - 获取通知列表
+(void)initGetNotificationList:(NSString *)catalogId :(HTTPIndustry)block
{
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init];
    NSString * string = [NSString stringWithFormat:@"/activity/task/list?catalogId=%@",catalogId];
    [LSZTotalRequest initWithGetNoEncryptionRequest:string :dic :^(BOOL isOk, NSString * string, id diction) {
        if (isOk == YES) {
            LSZIndustryManager * manager = [[LSZIndustryManager alloc]initWithIndustry:diction];
            block(YES,@"",manager);
        }else{
            block(NO,string,nil);
        }
    }];
}
@end
